package com.rran.study.designpattern.behavioral.template.service;

/**
 * @author yy
 * @Type PersonAGoShopping.java
 * @Desc
 * @date 2020/7/21 15:22
 */
public class PersonBGoShopping extends AbstractShoppingTemplete {


    @Override
    protected void browse() {
        System.out.println("浏览生活用品");
    }

    @Override
    protected void buy() {
        System.out.println("购买生活用品");
    }

    @Override
    protected void pay() {
        System.out.println("使用微信支付");
    }
}
